package com.woniu.p2p.behindService;

import com.github.pagehelper.PageInfo;
import com.woniu.p2p.entity.Loans;
import com.woniu.p2p.entity.User;
import com.woniu.p2p.vo.UserRepayVo;

import java.util.Date;
import java.util.List;

/**
 *用户还贷月份管理
 */
public interface UserRepayService {

    //用户还贷月份管理分页查询
    PageInfo<UserRepayVo> findAllUserRepayForPageInfo(Integer start,Integer num, String repaystatus, Date predate, Date nextdate, String repaykeyword);
    //根据id查询用户的信息
    User findAllUserById(Integer id);
    //根据id查询贷款信息
    Loans findAllLoansById(Integer id);
    //删除单个月供
    int deleteUserRepay(Integer id);
    //导出所有用户每月还贷信息
    List<UserRepayVo> findAllMonloans(int[] id);
}
